package Book;
public class BookList {
    private Book [] books=new Book[10];
    private int size;//当前书架里的书的个数

    public BookList() {
       books [0]=new Book ("三国演义","新华出版社","罗贯中",
               "小说",45,false);
        this.size = 1;
    }
    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }
    public Book Getpos(int pos){
        return books[pos];
    }
    public void Setbook(Book book,int pos){
        books[pos]=book;
    }
}
